﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class BaseItems
{
    public int ID 
    //物品ID
    {
        private set;
        get;
    }
    public int BuyPrice
    //购买价格
    {
        private set;
        get;
    }

    public int SellPrice
    //出售价格
    {
        private set;
        get;
    }

    public string Name
    //物品名字
    {
        private set;
        get;
    }
	
    public string Content
    //描述
    {
        private set;
        get;
    }

    public string Icon
    //图标
    {
        private set;
        get;
    }
    public BaseItems(int id,int buyprice,int sellprice,string name,string content,string icon)
    {
        this.ID = id;
        this.BuyPrice = buyprice;
        this.SellPrice = sellprice;
        this.Name = name;
        this.Content = content;
        this.Icon = icon;
    }
}
